package org.example.project

import org.example.project.cache.DesktopDatabaseDriverFactory
import org.example.project.network.SpaceXApi
import org.koin.dsl.module

val appModule = module {
    single<SpaceXApi> { SpaceXApi() }
    single<SpaceXSDK> {
        SpaceXSDK(
            databaseDriverFactory = DesktopDatabaseDriverFactory(),
            api = get()
        )
    }



}